{% extends ':layouts:information.html.twig' %}

{% block crumb %}
    {{ render(controller( 'AppBundle:Default:crumb',{'labels':['个人中心','企业信息']})) }}
{% endblock %}

{% block content %}
    <div class="row">
        <div class="col-md-9">
            <table class="table table-striped table-bordered">
                <tbody>
                <tr>
                    <th>名称</th>
                    <td>{{ company.name }}</td>
                </tr>
                <tr>
                    <th>地址</th>
                    <td>{{ company.province }}{{ company.city }}{{ company.county }}{{ company.address }}</td>
                </tr>
                <tr>
                    <th>电话</th>
                    <td>{{ company.phone }}</td>
                </tr>
                <tr>
                    <th>公司规模</th>
                    <td>{{ company.size }}</td>
                </tr>
                <tr>
                    <th>行业</th>
                    <td>{{ company.vocation }}</td>
                </tr>
                <tr>
                    <th>营业执照</th>
                    <td><img src="{{ asset('uploads/'~company.licenseBusinessPic) }}" width="300" height="200"/></td>
                </tr>
                </tbody>
            </table>

            <ul>
                <li>
                    <a href="{{ path('company_edit') }}">修改</a>
                </li>
            </ul>
        </div>
    </div>
{% endblock %}